import {
    server
} from '../../api/request.js';

export function get_selkelist(){
  
        return server(
            'GET',
            '/stu/common/getCourseStartStatus',
           
        )
    
}

export function studentElective(data){
  
    return server(
        'POST',
        '/k/kill/studentElective',
       data
    )



}

//获取学生已选课程
export function get_selkelist_data(){
    return server(
        'GET',
        '/stu/common/showAlreadyChooseCourse'
        
    )
}

//退课
export function studentDrop(data){
    return server(
        'POST',
        '/k/kill/studentWithdraws?randomCode='+data,
       
    )
}